<%@ page import="cn.kgc.dao.impl.NewsDaoImpl" %>
<%@ page import="cn.kgc.dao.NewsDao" %><%--
  Created by IntelliJ IDEA.
  Users: Administrator
  Date: 2018/12/24
  Time: 23:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>testDB</title>
</head>
<body>
<%
    out.print("testDB");
    //测试数据源配置是否成功，获取新闻数据
    NewsDao dao = new NewsDaoImpl();
    dao.getNewsListByDS();

%>
</body>
</html>
